<div class="sidebar">

	  <fieldset class='sidebarlist'>
        <legend>Blog Notice</legend>
        <ul>
            {{blog.blognotice}}
        </ul>
    </fieldset>
	  <fieldset class='sidebarlist'>
        <legend>Pages</legend>
        <ul>
            {{self.m_list_pages}}
        </ul>
    </fieldset>

    <fieldset class='sidebarlist'>
        <legend>Recent Comments</legend>
        <ul>
	    {% for comment in recent_comments %}
        <li><a href="/{{comment.entry.link}}#comment-{{comment.key.id}}">{{comment.author}}:{{comment.shortcontent}}...</a> </li>
        {%endfor%}
        </ul>
	  </fieldset>

<!--
    <fieldset class='sidebarlist'>
        <legend>Tune in to CVC Radio</legend>
<ul>
<li>
<a href="http://www.cvcradio.in/">CVC English</a>
<object width="135" height="12" data="{{blog.baseurl}}/static/player/buffer.swf" type="application/x-shockwave-flash">
<param value="{{blog.baseurl}}/static/player/buffer.swf" name="movie"/>
<param value="transparent" name="wmode"/>
<param value="false" name="menu"/>
<param value="high" name="quality"/>
<param value="playerID=2&bg=0xFF9F06&leftbg=0x846D21&lefticon=0xF2F2F2&rightbg=0x846D21&rightbghover=0x846D21&righticon=0xF2F2F2&righticonhover=0xFFFFFF&text=0x846D21&slider=0x846D21&track=0xFFDD99&border=0xFFFFFF&loader=0x8EC2F4&autostart=no&loop=no&soundFile=http://india64mp3.serverroom.us:9764/;" name="FlashVars"/>
</object>

</li>
<li>
<a href="http://www2.cvc.tv/go/sheng/">CVC Chinese</a>
<object width="135" height="12" data="{{blog.baseurl}}/static/player/buffer.swf" type="application/x-shockwave-flash">
<param value="{{blog.baseurl}}/static/player/buffer.swf" name="movie"/>
<param value="transparent" name="wmode"/>
<param value="false" name="menu"/>
<param value="high" name="quality"/>
<param value="playerID=2&bg=0xFF9F06&leftbg=0x846D21&lefticon=0xF2F2F2&rightbg=0x846D21&rightbghover=0x846D21&righticon=0xF2F2F2&righticonhover=0xFFFFFF&text=0x846D21&slider=0x846D21&track=0xFFDD99&border=0xFFFFFF&loader=0x8EC2F4&autostart=no&loop=no&soundFile=http://chinese64mp3.serverroom.us:7906;" name="FlashVars"/>
</object>
</li>
</ul>
</fieldset>
-->

	  
	  <fieldset class='sidebarlist'>
        <legend>Links</legend>
        <ul>
        {%for link in blogroll%}
<li><a href="{{link.href}}">{{link.linktext}}</a></li>
{%endfor%}
        </ul>
    </fieldset>

    <fieldset class='sidebarlist'>
        <legend>Hot Entries</legend>
        <ul>
        {% for entry in blog.hotposts %}
		<li><a href="/{{entry.link|escape}}" title="{{entry.title|escape}}">{{entry.title|escape}}({{entry.readtimes}})</a></li>
        {%endfor%}
        </ul>
    </fieldset>

    <fieldset class='sidebarlist'>
        <legend>Recent Entries</legend>
        <ul>
        {% for entry in blog.recentposts %}
          <li><a href="/{{entry.link|escape}}" title="{{entry.title|escape}}">{{entry.title|escape}}</a></li>
        {%endfor%}
        </ul>
    </fieldset>
    
    <fieldset class='sidebarlist'>
        <legend>Categories</legend>
        <ul>
          {%for cate in categories%}
          <li><a href="/category/{{cate.slug}}">{{cate.name}}</a>({{cate.count}})</li>
          {%endfor%}
        </ul>
    </fieldset>
  
    <fieldset class='sidebarlist'>
        <legend>Archives</legend>
        <ul>
          {%for archive in archives%}
          <li><a href="/{{archive.year}}/{{archive.month}}">{{archive.monthyear}}({{archive.entrycount}})</a></li>
          {%endfor%}
        </ul>
    </fieldset>

<!--
    <fieldset class='sidebarlist'>
        <legend>Archives</legend>
          <select class="dropdown" onchange="document.location.href=this.options[this.selectedIndex].value;">
            <option value="">Choose a month</option> 
              {%for archive in archives%}
            <option value="/{{archive.year}}/{{archive.month}}" >{{archive.monthyear}} ({{archive.entrycount}})</option>
              {%endfor%}
          </select>
   </fieldset>
-->   
    

<fieldset class='sidebarlist'>
  <legend>Tags</legend>
      	{% for t in alltags %}
	     <a href="/tag/{{t.tag|urlencode}}" title='{{ t.tagcount }} pages'><span style='font-size:{{t.tagcount|add:8 }}px;'>{{t.tag}}</span></a>
	        {%endfor%}
</fieldset>

</div>



